import request from '@/libs/req';

const api = {
  miningIndex: 'mining/index',
  blister: 'mining/get/blister',
  record: 'mining/award/record',
}

// 获取挖矿首页
export const getMiningIndex = () => {
  return request.post(api.miningIndex)
}

// 点击领取所有气泡
export const getBlister = () => {
  return request.post(api.blister)
}

// 获取奖励记录
export const getAwardRecord = (param) => {
  return request.post(api.record, param)
}